package cn.edu.scau.entity;

import java.io.Serializable;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;

/**
 * 实体类Nurse
 */
@NoArgsConstructor
@Data
@AllArgsConstructor
@Builder
public class Nurse implements Serializable {

	private static final long serialVersionUID = -2633412637714484225L;
    /**
     * 护士id
     */
    private Integer nurseid;
    /**
     * 护士姓名
     */
    @NotBlank
    private String nursename;
    /**
     * 护士性别
     */
    @NotBlank
    private String nursesex;
    /**
     * 护士年龄
     */
    @NotBlank
    private Integer nurseage;
    /**
     * 所拥有的用户id
     */
    @NotBlank
    private Integer userid;
    /**
     * 护士是否有效
     */
    private Boolean nurseuseflag;
}